package day11;

/**
 * @author oldliu
 * @since 1.0
 */
public class Thread1 extends Thread {
    public Thread1(String name){
        super(name);
    }

    @Override
    public void run() {
        for (int i = 0; i <= 20; i++) {
            System.out.println(this.getName()+" print "+i);
        }
    }
}
